


namespace Core.Extensions
{
    using System;
    using System.Collections.Generic;
    using Base;
    using Contracts.Enums;
    using Contracts.Interfaces;
    using Resources;

    /// <summary>
    /// Nexus  Long range targeting Extension class
    /// </summary>
    
    public sealed class NexusLongRangeTargeting: ExtensionBase
    {
        /// <summary>
        /// Create a new instance of the <see cref="T:Core.Extensions.NexusLongRangeTargeting"/> class.
        /// </summary>
        public NexusLongRangeTargeting()
            : base(
                Traduction.extensions_nexus_long_range_targeting, 
                ExtensionGroupsEnum.NexusManagement,
                6,
                0, 
                new ExtensionCost(180000,0),
                new ICondition<IExtension>[] {new ExtensionCondition<BasicSquadManagement>(1),new ExtensionCondition<LongRangeTargeting>(3)} )
        {
            Modifiers = new IModifier[] { new Modifier(FeatureTypesEnum.Module, FeaturesEnum.NexusModuleLockingRangeModification, 1.00),
                                            new Modifier(FeatureTypesEnum.Module, FeaturesEnum.LockingRange, 1.00)
            };
            
        }

        /// <summary>
        /// Obtains the extension description
        /// </summary>
        public override string Description
        {
            get { return Traduction.extensions_nexus_long_range_targeting_description; }
        }
    }
}